background-color: #f9f9f9;
font-size: 94%;
text-align: center;
+ /* new block formatting context,
+ * to clear background from floating content */
+ overflow: hidden;
}
html .thumbimage {
line-height: 1.4em;
padding: 3px;
font-size: 94%;
- overflow: hidden;
- word-wrap: break-word;
/* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
text-align: left;
}
/* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
/* Use same SVG support hack as mediawiki.legacy's shared.css */
- background-image: url(images/magnify-clip-ltr.png);
+ background-image: url( images/magnify-clip-ltr.png );
/* @embed */
- background-image: linear-gradient(transparent, transparent), url(images/magnify-clip-ltr.svg);
+ background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
/* Don't annoy people who copy-paste everything too much */
-moz-user-select: none;
-webkit-user-select: none;
}
img.thumbborder {
- border: 1px solid #dddddd;
+ border: 1px solid #ddd;
}
/* Directionality-specific styles for thumbnails - their positioning depends on content language */
/* @noflip */
.mw-content-ltr div.magnify a {
/* Use same SVG support hack as mediawiki.legacy's shared.css */
- background-image: url(images/magnify-clip-ltr.png);
+ background-image: url( images/magnify-clip-ltr.png );
/* @embed */
- background-image: linear-gradient(transparent, transparent), url(images/magnify-clip-ltr.svg);
+ background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
}
/* @noflip */
/* @noflip */
.mw-content-rtl div.magnify a {
/* Use same SVG support hack as mediawiki.legacy's shared.css */
- background-image: url(images/magnify-clip-rtl.png);
+ background-image: url( images/magnify-clip-rtl.png );
/* @embed */
- background-image: linear-gradient(transparent, transparent), url(images/magnify-clip-rtl.svg);
+ background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-rtl.svg );
}
/* @noflip */
div.tleft {
margin: .5em 1.4em 1.3em 0;
}
+
+/* Hide elements that are marked as "empty" according to legacy Tidy rules
+ */
+.mw-empty-elt, .mw-empty-li {
+ display: none;
+}